package com.hackerrank.www.javap;

import java.util.Scanner;

/**
 * Created by 27340 on 2017/5/14.
 */
public class Loops {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int N = in.nextInt();
        for(int i=1;i<=10;i++){
            System.out.println(N +" x "+ i+" = " + N*i);
        }
    }
}
